//
//  UIViewController+SCNavBarItem.h
//  Navigation
//
//  Created by dangshuai on 2019/2/22.
//  Copyright © 2019 dangshuai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SCBarButtonItemView.h"
@interface UIViewController (SCNavBarItem)

- (SCBarButtonItemView *)rightBarItemWithTitle:(NSString *)title action:(SEL)act;

- (SCBarButtonItemView *)rightBarItemWithImage:(NSString *)image action:(SEL)act;

- (SCBarButtonItemView *)backItemAndOtherItemImage:(NSString *)image action:(SEL)act;

- (SCBarButtonItemView *)leftItemWithImage:(NSString *)image action:(SEL)act;

- (void)rightBarItemWithCustomView:(SCBarButtonItemView *)right;
- (void)rightBarItemWithCustomView:(SCBarButtonItemView *)right rightSpace:(CGFloat)space;

- (void)rightBarItemWithCustomViews:(SCBarButtonItemView *)buttons,...;

- (void)rightBarItemsWithCustomArray:(NSMutableArray *)views;
@end

